package org.seckill.entity;

import java.util.Date;

/**秒杀成功实体
 * Created by yuqin on 2016/6/5.
 */
public class SuccessKilled {
    /**
     * id
     */
    private  long seckillId;
    /**
     * 用户手机号
     */
    private  long userPhone;
    /**
     * 状态
     */
    private short state;
    /**
     * 创建日期
     */
    private Date createTime;

    /**
     * 多对一复合属性
     */
    private Seckill Seckill;

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public long getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(long userPhone) {
        this.userPhone = userPhone;
    }

    public short getState() {
        return state;
    }

    public void setState(short state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public org.seckill.entity.Seckill getSeckill() {
        return Seckill;
    }

    public void setSeckill(org.seckill.entity.Seckill seckill) {
        Seckill = seckill;
    }
}
